﻿<UserControl x:Class="LevelEditor.View.UserControls.NavigatorPanel"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="150" d:DesignWidth="200">
    <!-- Move to ScenePreviewAndScalingPanel //-->
    <DockPanel Grid.Row="0" DockPanel.Dock="Top" Height="150" VerticalAlignment="Stretch">
        <Grid DockPanel.Dock="Top">
            <Rectangle Height="20" Fill="#2d2d2d">
            </Rectangle>
            <Label Foreground="White">Navigator</Label>
        </Grid>
        <DockPanel DockPanel.Dock="Bottom"  HorizontalAlignment="Stretch">
            <TextBox Name="zoomValue" DockPanel.Dock="Right" Width="40" HorizontalAlignment="Right" BorderThickness="0">100%</TextBox>
            <Slider Margin="10,0,10,0" Name="zoomSlider" Height="20" Minimum="20" Maximum="300" Interval="10" Value="100" IsMoveToPointEnabled="True" IsSnapToTickEnabled="True" TickFrequency="10" TickPlacement="BottomRight"></Slider>
        </DockPanel>
        <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
            <Border Name="previewImageBorder" DockPanel.Dock="Top" BorderThickness="1,1,1,1" BorderBrush="#565656">
                <Image Name="previewImage"></Image>
            </Border>
        </StackPanel>
    </DockPanel>
    <!-- End //-->
</UserControl>
